//
//  WeiduxiaoxiTableViewController.m
//  YSZC
//
//  Created by 张斌 on 16/4/25.
//  Copyright © 2016年 YueShiKeJi. All rights reserved.
//

#import "WeiduxiaoxiTableViewController.h"

@interface WeiduxiaoxiTableViewController ()
@property (weak, nonatomic) IBOutlet UILabel *lable;
@property (strong,nonatomic)NSArray* modelarr;
@end

@implementation WeiduxiaoxiTableViewController

- (NSArray *)modelarr{
    if (_modelarr == nil) {
        _modelarr = [NSArray array];
        //        _modelarr  = @[@"Sb"];
    }
    return _modelarr;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    
    // Uncomment the following line to preserve selection between presentations.
    // self.clearsSelectionOnViewWillAppear = NO;
    
    // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
    // self.navigationItem.rightBarButtonItem = self.editButtonItem;
}
- (void)viewDidLayoutSubviews{
    [super viewDidLayoutSubviews];
    self.lable.hidden = self.modelarr.count != 0;
}
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
    return 1;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    return self.modelarr.count;
}
- (UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    UITableViewCell* cell = [tableView dequeueReusableCellWithIdentifier:@"WeiduxiaoxiCell"];
    
    return cell;
}



@end
